package com.dingpeikeji.quickdeer.modules.rentproduct.dao;

import java.util.List;

import com.dingpeikeji.quickdeer.core.common.persistence.CrudDao;
import com.dingpeikeji.quickdeer.core.common.persistence.annotation.MyBatisDao;
import com.dingpeikeji.quickdeer.core.modules.line.entity.TLine;
import com.dingpeikeji.quickdeer.modules.rentproduct.entity.ShareRentproduct;

@MyBatisDao
public interface ShareProductDao extends CrudDao<ShareRentproduct>{

	int insert(ShareRentproduct shareRentproduct);

	ShareRentproduct getInfo(String id);

	void updateSellAmount(String id, String purchasenum);

	void updateStatus(String shareid,String status);

	List<ShareRentproduct> getAllShareProduct();

	String getLinePic(Integer rentgrpid);

	ShareRentproduct getElseInfo(String sid);

	int updateSuccess(String sid);

	void updateDelFlag();

	List<ShareRentproduct> findDelList(ShareRentproduct shareRentproduct);

	List<ShareRentproduct> selectDelFlag();

	List<String> getDepartList(ShareRentproduct sharetype);

	List<String> getDestList(ShareRentproduct sharetype);
	
	List<String> getBoardList(ShareRentproduct sharetype);
	
	List<String> getDayList(ShareRentproduct sharetype);


}
